import Vue from 'vue'
import App from './App'
import store from './store'
import '@/static/scss/common.scss';

Vue.config.productionTip = false
App.mpType = 'app'
Vue.prototype.$store = store

/* 全局挂载请求库(GraceUI) */
import GraceRequest from './GraceUI5/js/request/request.js'
uni.gRequest = GraceRequest;

/* 全局挂载请求库(GraceUI封装) */
import apiRequest from './api/apiRequest.js'
Vue.prototype.$request = apiRequest;

/* 全局挂载工具类 */
import utils from "@/static/utils/index.js"; 
Vue.prototype.$utils = utils;

/* 全局常量 */
import constant from "@/static/utils/constant.js";
Vue.prototype.$const = constant;

const app = new Vue({
	store,
    ...App
})
app.$mount()